package com.medical.sys.mapper;

import com.medical.sys.model.UserOpenIdMap;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserOpenIdMapMapper {
	
	public List<UserOpenIdMap> selectByUserId(String userId);
	
	public UserOpenIdMap selectByOpenId(String openId);

	public void insertUserOpenIdMap(UserOpenIdMap userOpenIdMap);
	
	public UserOpenIdMap selectByUserIdAndWechatAccountId(UserOpenIdMap userOpenIdMap);
	
	public void updateByUserIdAndAccountId(UserOpenIdMap userOpenIdMap);
}